package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.BasePageResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 过车列表查询
 *
 * @author pengxin
 * @date 2022-10-13 11:40
 */
@NoArgsConstructor
@Data
public class VehicleQueryListParam extends BasePageParam{


    private static final long serialVersionUID = 2512088469800796882L;
    private String plateNum;
    private List<String> multiPlateNums;
    private String carNumType;
    private List<String> plateTypes;
    private String startTimeStr;
    private String endTimeStr;
    private String startTimeStrUtc;
    private String endTimeStrUtc;
    private List<String> channelCodes;
    private Integer carWayCode;
    private Integer carColor;
    private List<Integer> carColors;
    private String carBrand;
    private Integer carDirect;
    /**
     * 车速范围 如 [50 TO 80]
     */
    private String speedRange;




    @Override
    public void checkParam() {

    }

    @Override
    public List<String> getIgnoreList() {
        List<String> ignoreList = super.getIgnoreList();
        ignoreList.add("page");
        ignoreList.add("pageSize");
        return ignoreList;
    }

    @Override
    public Class getResultClass() {
        return BasePageResult.class;
    }
}
